<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <http://www.zhengzhong.net>

  Created on 2008-10-20.
  $Id$
-->
{% endcomment %}

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

  <head>
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="description" content="ZHENG Zhong's bug garden"/>
    <meta name="keywords" content="Python,C++,Java,buggarden,ZHENG Zhong,zheng,zzheng,zhengzhong,heavyz,heavyzheng,"/>
    <meta name="author" content="ZHENG Zhong"/>
    <link rel="shortcut icon" type="image/ico" href="{{static_}}/favicon.ico"/>
    <link rel="stylesheet" type="text/css" media="screen,print" href="{{static_}}/css/common.css"/>
    
    <!-- google analytics _______________________________________________________________________-->
    
    <script type="text/javascript">//<![CDATA[
      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
      try {
        var pageTracker = _gat._getTracker("{{analytics_key_}}");
        pageTracker._trackPageview();
      } catch(err) {}
    //]]></script>
    
    {% block html_head %}{% endblock %}
  
  </head>
  
  <body>
    
    <div id="outer_wrapper">
    
      <!-- topbar_wrapper _______________________________________________________________________-->
      
      <div id="topbar_wrapper">
      
        <!-- The following info is in the shadow. -->
        <span class="shadow">
          {% if user_ %}
            {{user_.nickname}} | <a href="{{sign_out_url_}}">Sign out</a> |
          {% else %}
            <a href="{{sign_in_url_}}">Sign in</a> |
          {% endif %}{# user_ #}
        </span>
        <!-- Shadow ends here. -->
        <a href="{{webapp_}}/">Bug Garden Home</a>
        | <a href="http://www.zhengzhong.net/" rel="external">About Me</a>
        | <a href="http://blog.zhengzhong.net/" rel="external">Blog</a>
        | <a href="http://www.flickr.com/photos/zhengzhong/" rel="external">Photos</a>
      </div><!--/#topbar_wrapper-->
      
      <!-- header_wrapper _______________________________________________________________________-->
      
      <div id="header_wrapper">
      
        <div class="left">
          <a href="{{webapp_}}/"><img src="{{static_}}/images/buggarden_logo.gif" alt="Bug Garden Logo"/></a>
        </div><!--/.left-->
        
        <div class="right">
          <i>
            In programming, as in everything else, to be in error is to be reborn.<br/>
            -- Alan J. Perlis
          </i>
        </div><!--/.right-->
        
        <div class="clear"></div>
      
      </div><!--/#header_wrapper-->
      
      <!-- main_wrapper _________________________________________________________________________-->
      
      <div id="main_wrapper">
      
        <!-- sidebar_wrapper ____________________________________________________________________-->
        
        <div id="sidebar_wrapper">
        
          <div class="section">
            <h2>Sub-projects</h2>
            <ul>
              <li><a href="{{webapp_}}/foodsnroses/">Foods N' Roses</a></li>
              <li><a href="{{webapp_}}/hottywood/">Hottywood</a></li>
              <li><a href="{{webapp_}}/readatwork/">Read at Work</a></li>
              <li>Nanjing XML Library</li>
            </ul>
          </div>
          
          <div class="section">
            <h2>Related Links</h2>
            <ul>
              <li><a href="http://appengine.google.com/" rel="external">Google App Engine</a></li>
              <li><a href="http://www.python.org/" rel="external">Python Official Site</a></li>
              <li><a href="http://www.djangoproject.com/" rel="external">Django</a></li>
              <li><a href="http://jquery.com/" rel="external">JQuery</a></li>
            </ul>
          </div>
          
          <div class="section">
            <h2>About Me</h2>
            <ul>
              <li><a href="http://www.zhengzhong.net/" rel="external">My Website</a></li>
              <li><a href="http://www.flickr.com/photos/zhengzhong/" rel="external">My Flickr Photostream</a></li>
              <li><a href="http://blog.zhengzhong.net/" rel="external">My Personal Blog</a></li>
              <li><a href="http://codeblog.zhengzhong.net/" rel="external">My Code Blog</a></li>
              <li><a href="http://www.linkedin.com/in/zhengzhong" rel="external">My LinkedIn Profile</a></li>
            </ul>
          </div>
          
          <!-- powered-by logos -->
          <div class="section">
            <h2></h2>
            <p>
              <!-- Selected from: http://www.python.org/community/logos/ -->
              <a href="http://www.python.org/" rel="external">
                <img src="http://www.python.org/community/logos/python-powered-w-100x40.png"
                     alt="Python Powered"
                     title="Python Powered"/>
              </a>
            </p>
            <p>
              <!-- Selected from: http://www.djangoproject.com/community/badges/ -->
              <a href="http://www.djangoproject.com/" rel="external">
                <img src="http://media.djangoproject.com/img/badges/djangomade124x25.gif"
                     alt="Powered by Django"
                     title="Powered by Django"/>
              </a>
            </p>
            <p>
              <!-- Selected from: http://code.google.com/appengine/downloads.html -->
              <a href="http://appengine.google.com/" rel="external">
                <img src="http://code.google.com/appengine/images/appengine-silver-120x30.gif"
                     alt="Powered by Google App Engine"
                     title="Powered by Google App Engine"/>
              </a>
            </p>
          </div>
        
        </div><!--/#sidebar_wrapper-->
        
        <!-- content_wrapper ____________________________________________________________________-->
        
        <div id="content_wrapper">
          {% block content %}FIXME: content block{% endblock %}
        </div><!--/#content_wrapper-->
        
        <div class="clear"></div>
      
      </div><!--/#main_wrapper-->
      
      <!-- footer_wrapper _______________________________________________________________________-->
      
      <div id="footer_wrapper">
        Copyright (C) 2008 ZHENG Zhong &lt;heavyzheng nospam-at gmail D0T com&gt;
        <br/>
        <a href="{{webapp_}}/">Bug Garden Home</a>
        | <a href="http://www.zhengzhong.net/" rel="external">About Me</a>
        | <a href="http://blog.zhengzhong.net/" rel="external">Blog</a>
        | <a href="http://www.flickr.com/photos/zhengzhong/" rel="external">Photos</a>
        | <a href="http://validator.w3.org/check?uri=referer" rel="external">Valid XHTML 1.0</a>
        | <a href="http://jigsaw.w3.org/css-validator/check/referer" rel="external">Valid CSS</a>
      </div><!--/#footer_wrapper-->
      
    </div><!--/#outer_wrapper-->
  
  </body>

</html>




